/**
 * 
 */
package cn.shanlin.ok.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.shanlin.ok.dao.CityMapper;
import cn.shanlin.ok.model.City;
import cn.shanlin.ok.service.ICityService;

/**
 * @author liyinlong
 *
 * 2017年3月15日下午3:06:21
 */
@Service("cityService")
public class CityServiceImpl implements ICityService {
	@Autowired(required = false)
	private CityMapper cityMapper;
	@Override
	public City getCityById(Integer id) {
		return cityMapper.selectByPrimaryKey(id);
	}

}
